<extend name="base" />
<block name="style">
      <link rel="stylesheet" type="text/css" href="__PUBLIC__/Rbac/CSS/base.css">
      <link rel="stylesheet" type="text/css" href="__PUBLIC__/Rbac/CSS/roleList.css">
</block>
<block name="content">
    <div class="content">
    <h2 class="sub-header">全部角色列表</h2>
        <table>
            <tr><td>角色名称</td><td>状态</td><td>操作</td></tr>
            <foreach name="role" item="role">
              <tr>
                <td><{$role.name}></td>
                <td><{$role.status}></td>
                <td><a href='<{:U("Home/Rbac/addAccess",array("rid"=>$role["id"]))}>'>配置权限</a></td>
              </tr>
            </foreach>
        </table>
    </div>
</block>